package com.k2.gulimall.auth.service;

import com.k2.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@Component
@FeignClient("gulimall-third-party")
public interface ThirdPartFeignService {

    @GetMapping(value = "/sendSms")
    int sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
